package com.toppitch.site.data;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.toppitch.site.db.IGetFromResultSet;

public class CareerInterest extends BaseData implements IGetFromResultSet {
	private String careerInterest;
	private String studentEmail;

	@Override
	public void getFromResultSet(ResultSet rs) throws SQLException {
		careerInterest = rs.getString("careerInterest");
		studentEmail = rs.getString("studentEmail");
	}

	public String toInsertString() {
		return toInsertString("careerinterest", careerInterest, studentEmail);
	}

	public String getCareerInterest() {
		return careerInterest;
	}

	public void setCareerInterest(String careerInterest) {
		this.careerInterest = careerInterest;
	}

	public String getStudentEmail() {
		return studentEmail;
	}

	public void setStudentEmail(String studentEmail) {
		this.studentEmail = studentEmail;
	}
}
